//
//  ToolsLeftCell.m
//  A段项目,漫画
//
//  Created by dlios on 15-4-25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "ToolsLeftCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height
@implementation ToolsLeftCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.ClearCacheLabel = [[UILabel alloc]init];
        self.ClearCacheLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.ClearCacheLabel];
        [_ClearCacheLabel release];
        
        self.NightLabel = [[UILabel alloc]init];
        self.NightLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.NightLabel];
        [_NightLabel release];
        
        self.SettingLabel = [[UILabel alloc]init];
        self.SettingLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.SettingLabel];
        [_SettingLabel release];
        
        self.WeiboLoginLabel = [[UILabel alloc]init];
        self.WeiboLoginLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.WeiboLoginLabel];
        [_WeiboLoginLabel release];
        
        
        self.ProductionLabel = [[UILabel alloc]init];
        self.ProductionLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.ProductionLabel];
        [_ProductionLabel release];
        
        self.BrowseLabel = [[UILabel alloc]init];
        self.BrowseLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.BrowseLabel];
        [_BrowseLabel release];
        
        self.AboutUsLabel = [[UILabel alloc]init];
        self.AboutUsLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.AboutUsLabel];
        [_AboutUsLabel release];
        
        self.LoginImageView = [[UIImageView alloc]init];
        [self.contentView addSubview:self.LoginImageView];
        [_LoginImageView release];
        
        
       
        
    }
    return self;
}

#pragma mark 视图布局
-(void)layoutSubviews
{
    CGFloat  bi = 375 / 320;
    [super layoutSubviews];
        self.LoginImageView.frame = CGRectMake(70,20 * bi - 5, 30, 30 );
    self.LoginImageView.backgroundColor = [UIColor clearColor];
//    self.LoginImageView.backgroundColor = [[UIColor alloc]initWithRed:18 / 256.0 green:30 / 256.0 blue:51 / 256.0 alpha:1.0];
    
    
    self.ProductionLabel.frame = CGRectMake(0, 0, WIDTH , HEIGHT);
    self.ProductionLabel.textColor = [UIColor blackColor];
    
    self.AboutUsLabel.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    self.AboutUsLabel.textColor = [UIColor blackColor];
    
    self.BrowseLabel.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    self.BrowseLabel.textColor = [UIColor blackColor];
    
    self.ClearCacheLabel.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    self.ClearCacheLabel.textColor = [UIColor blackColor];
    
    self.NightLabel.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    self.NightLabel.textColor = [UIColor blackColor];
    
    self.SettingLabel.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    self.SettingLabel.textColor = [UIColor blackColor];
    
    self.WeiboLoginLabel.frame = CGRectMake(0, 0, WIDTH, HEIGHT);
    self.WeiboLoginLabel.textColor = [UIColor blackColor];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
